package com.ktjy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjy.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierMapper extends BaseMapper<Supplier> {
    //查询供货商列表
    List<Supplier> getSupplierList(@Param("supname") String querySupName,@Param("supCode") String querySupCode,@Param("pageIndex") Integer pageIndex,@Param("pageSize") int pageSize);

    //查询供货商总数
    int getUserCount(@Param("supname") String querySupName,@Param("supCode") String querySupCode);
}
